package models;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;

public class FabricaConexao {

	public Connection getConnection() {

		/* System.out.println("Conectando-se ao banco de dados..."); */
		try {
			return DriverManager.getConnection(
					"jdbc:mysql://localhost/engSoft", "root", "852456");
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
	}
}